<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
	<title>${category.name}</title>
	<meta name="decorator" content="cms_default_${site.theme}"/>
	<meta name="description" content="${category.description}" />
	<meta name="keywords" content="${category.keywords}" />
	<script type="text/javascript">
		$(document).ready(function() {
			$('.btn').hide();
		});
	</script>    
</head>
<body>
	<div class="row">
	   <div class="span10">
		 <ul class="breadcrumb">
			<li><strong>当前位置：</strong><a href="/doublerandom/f/index-1.html">首页</a></li><li><span class="divider">/</span> <a href="/doublerandom/f/listrw-4${urlSuffix}">“双随机”任务</a></li>
		 </ul>
	   </div>
       
       <div class="span10">
       <h3 style="color:#555555;font-size:20px;text-align:center;border-bottom:1px solid #ddd;padding-bottom:15px;margin:25px 0;">${rw.rwMc}</h3>
       <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;"><a href="${ctx}/listd-2-${sx.id}${urlSuffix}">事项：${sx.sxMc}</a></h4></li>
       <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;"><a href="${ctx}/listj-3-${jh.id}${urlSuffix}">计划：${jh.jhMc}</a></h4></li>
       <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">制定部门：${rw.officeZd.name}</h4></li>
       <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">任务状态：<c:choose><c:when test="${rw.rwFlag eq '00'}">执行中</c:when><c:when test="${rw.rwFlag eq '01'}">已填写检查结果</c:when><c:when test="${rw.rwFlag eq '02'}">完成</c:when></c:choose></h4></li>
       <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">任务分组：</h4></li>
                    <table id="contentTable" class="table table-striped table-bordered table-condensed" style="width:100%">
                        <thead>
                            <tr>
                            	<th width="3%">序号</th>
                                <th>分组</th>
                                <th>执法人员</th>
                                <th>执法对象</th>
                                <th>组长</th>
                            </tr>
                        </thead>
                        <tbody>
                        	<c:forEach items="${st}" var="st" varStatus="s">
                                <tr>
                                	<td>${s['index']+1}</td>
                                	<td>${st.groupName}</td>
                                    <td>${st.users}</td>
                                    <td>${st.objects}</td>
                                    <td>${st.captain}</td>
                                </tr>
                            </c:forEach>    
                        </tbody>
                    </table>
                    <br>
            <c:if test="${not empty jg.id}">        
			<li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">检查执法记录</h4></li>
                    <table id="contentTable" class="table table-striped table-bordered table-condensed" style="width:100%">
                        <thead>
                            <tr>
                            	<th width="3%">序号</th>
                                <th>执法对象</th>
                                <th>问题记录</th>
                                <th>是否合格</th>
                                <th>处罚类型</th>
                                <th>是否为失信依据</th>
                            </tr>
                        </thead>
                        <tbody>
                        	<c:forEach items="${jg.getDrWtxxList()}" var="wtxx" varStatus="s">
                                <tr>
                                	<td>${s['index']+1}</td>
                                	<td>${wtxx.wtxxDxmc}</td>
                                    <td>${wtxx.wtxxWtjl}</td>
                                    <td>${fns:getDictLabel(wtxx.wtxxSfhg, 'yes_no', '')}</td>
                                    <td>${fns:getDictLabel(wtxx.wtxxCflx, 'dr_cflx', '')}</td>
                                    <td>${fns:getDictLabel(wtxx.wtxxSxyj, 'yes_no', '')}</td>
                                </tr>
                            </c:forEach>    
                        </tbody>
                    </table>  
            <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">问题数量：&nbsp;${jg.jgWtsl}</h4></li>
            <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">问题对象数量：&nbsp;${jg.jgWtqysl}</h4></li>
            <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">问题总结：${jg.remarks}</h4></li>   
            <li><h4 style="color:#555555;font-size:16px;text-align:left;border-bottom:0px solid #ddd;padding-bottom:5px;margin:5px 0;">相关附件：</h4>
            <form:form id="inputForm" modelAttribute="jg" action="${ctx}/cms/article/save" method="post" class="form-horizontal">
				<form:hidden path="id"/>
            	<form:hidden id="fj" path="fj" htmlEscape="false" maxlength="255" class="input-xlarge"/>
				<sys:ckfinder input="fj" type="files" uploadPath="/jcjg/drJg" selectMultiple="true"/>    
            </form:form>              
            </li>               
            </c:if>
  	  </div>
   </div>
</body>
</html>